<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class circle_model extends MYSOFT_Model {
  protected $table = 'circle';
    public function set($id, $arr) {
        $this->db->set($arr[0],$arr[1],false)
            ->where(array('id' => $id))
            ->update($this->table);
        return $this->db->affected_rows();
    }
}
